package com.yzd.learnjava.arrays;

public class ArraysOfGenericType<T> {
	T[] array;
	public ArraysOfGenericType(int size) {
//		array = new T[size];
		array = (T[])new Object[size];//Unchecked cast from Object[] to T[]
	}
	
//	public <U> U[] makeArray() {
//		return new U[];
//	}

}
